which is a arbitrary separation, no different than saying you can only marry those of the same race, or people whose name rhymes with yours.
I f the law said you could not marry someone with a different last name would you say that's fine because it still treats everyone equally?