There are a lot of ways to breach a "contract" that is marriage, including a voluntary termination. However, being unfaithful is a good way to ruin your marriage, so if it means things to you please don't cheat your wife, unless explicitly being on different terms (and even then...).
This one is totally reasonable. It does not grant you any protection for the other cases, though.