Nothing contained in this Act shall affect the validity of any marriage not solemnized under its provisions; nor shall this Act be deemed directly or indirectly to affect the validity of any mode of contracting marriage.