GENERAL LAWS OF MASSACHUSETTS
REAL AND PERSONAL PROPERTY AND DOMESTIC RELATIONS
TITLE III., DOMESTIC RELATIONS, CHAPTER 207. MARRIAGE
CERTAIN MARRIAGES PROHIBITED
Chapter 207: Section 11 Non-residents; marriages contrary to laws of domiciled state
Section 11. No marriage shall be contracted in this commonwealth by a party residing and intending to continue to reside in another jurisdiction if such marriage would be void if contracted in such other jurisdiction, and every marriage contracted in this commonwealth in violation hereof shall be null and void.
I don't know the legislative history of this passage or it's judicial interpretation. (I would guess it was aimed at preventing underage minors from other states from circumventing their own state's laws by getting married instead in Massachusetts.) It would, however, seem to prevent a gay couple from California from traveling to Massachusetts to get married. Whether it would also apply to a couple from a state like Wisconsin which does not currently have a DOMA statute, I don't know. It's also not clear whether one could quibble about the part about
intending to reside in another state or how long you would need to reside in Massachusetts in the meantime. (Maybe an extended honeymoon at a timeshare on the Cape would suffice; I don't have time to look it up at the moment.)