Not an advertised feature of RM4 but it appears that it now supports same sex marriages.
Which is one reason why I am sticking to RM3 among others.
I have a civil partnership added to my database. When I entered the spouse I simply changed the gender of the person being added, then entered the usual details of the couple.