That's ridiculous. How do you think a scholar is going to answer it? It's not like a marriage contract lists out all the rights each party has. There's just a basic list of details, name, dowry, right of divorce etc. All the other rights we just know from Islamic Law (which doesn't allow the kind of contract you think it does)
How do you think they are going to come up with the inheritance rules for a man and another man? The initial basis is haram so why would they even start pondering on anything further.
In my opinion it would be a huge waste of a scholars time to ask this question when even a layman knows quite clearly that it is forbidden.
This isn't some genius idea you've come up with. It's a satanic idea.