When a surviving spouse makes no election to take against the will, he shall receive the benefit of all provisions in his favor in the will, if any, and shall share as heir, in accordance with the provisions of sections 474.010 to 474.030, in any estate undisposed of by the will. By taking under the will or consenting thereto, he does not thereby waive his right to a homestead allowance, to exempt property or to an allowance under section 474.260 unless it clearly appears from the will that the provision therein made for him was intended to be in lieu of such rights or any of them.
§ 474.230, RSMo