If the spouse of an infant or insane or convict husband or wife wish to sell real estate and to have the right of dower of such incompetent therein released to the purchaser, he or she may petition for that purpose the circuit court of the county in which such estate or some part thereof is, and if it appear to the court to be proper, an order may be made for the execution of such a release of dower, by a commissioner to be appointed by the court for the purpose, which release shall be effectual to pass such right of dower. And in making such order the court shall secure to such infant or insane or convict spouse, a sum in gross, computed according to the provisions of article two, chapter forty-three of this code as compensation for such right of dower.
W. Va. Code § 37-1-9