(d) The rights of same-gender married spouses, with respect to a child of whom either spouse becomes the parent during their marriage, shall be the same as the rights (including presumptions of parentage, paternity and maternity in Chapter 8 of this title) of different-gender married spouses with respect to a child of whom either spouse becomes the parent during their marriage.