Whenever an obligation in respect to real property would be specifically enforced against a particular person, it may be in like manner enforced against any other person claiming under him by a title created subsequently to the obligation, except a purchaser or incumbrancer in good faith and for value, and except, also, that any such person may exonerate himself by conveying all his estate to the person entitled to enforce the obligation.
(Enacted 1872.)