Subject to the rights of the surviving spouse to take an elective share as provided by section 633.236, any person of full age and sound mind may dispose by will of all the person’s property, except an amount sufficient to pay the debts and charges against the person’s estate.