(1) A contract of inheritance or an individual contractual disposition may be cancelled by contract between the persons who concluded the contract of inheritance. Cancellation may no longer be effected after the death of either of these persons.
(2) The testator may enter into the contract only personally.
(3) Where a custodian has been appointed for the other party and if the cancellation falls under the scope of functions of the custodian, ratification by the custodianship court is required.
(4) The contract requires the form prescribed for the contract of inheritance in section 2276.