I have an even simpler solution. Don't get married, and don't live in a common law marriage state. Seriously what advantages does marriage give you? The only advantages I can think of are tax planning if you marry a much lower earning spouse. But even that advantage is negated by the legal risk of divorce.
"Those who will not risk cannot win." -John Paul Jones