Subject to AS 34.77, the property and pecuniary rights of a married person at the time of marriage or afterwards that are acquired by gift, devise, or inheritance are not subject to the debts or contracts of the other spouse, and a spouse may manage, sell, convey, or devise the property and pecuniary rights that by will are separate property of that spouse.