For good cause shown the court may waive the prohibition against remarriage provided by this subchapter as to either or both spouses if a record of the proceedings is made and preserved or if findings of fact and conclusions of law are filed by the court.