The Maryland Court of Special Appeals has affirmed a lower court’s ruling that upheld a lump-sum clause in a postnuptial agreement requiring the husband—the grandson of well-known socialite and philanthropist Rachel “Bunny” Mellon—to pay the wife $7 million if he engaged in inappropriate sexual behavior again.