Every contract in restraint of the marriage of any person, other than a minor, is void.
(Added by Stats. 1977, Ch. 198.)