SOFA works just fine with marriage, just tweak the vows:
“… to have and to hold from this day forward, for better, for worse, for richer, for poorer, in sickness and in health, to love and to cherish, until I feel like this is done and want to move on. And done is when I say it’s done.”
There won’t be a dry eye in the house!