All marriages contracted within this State, prior to the effective date of this Act, or outside this State, that were valid at the time of the contract or subsequently validated by the laws of the place in which they were contracted or by the domicile of the parties, are valid in this State, except where contrary to the public policy of this State.
750 ILCS 5/213