The court may cause the net proceeds of sale to be invested in other real estate in the State or in public stocks, to the same uses and under the same limitations as the land; the income thereof to be paid to the persons entitled to the income of the land, or apportioned among the persons interested in the estate, according to their interests.
33 M.R.S. § 402