Protecting inheritance from divorce