Like a pre-nuptial agreementĀ , but entered into during the marriage rather than before it.