People make decisions, and those decisions have consequences. Those who make the decisions should pay the price. Those who are not willing to face the consequences, should keep their sperm and eggs to themselves. THAT is the big picture, the way I see it, and THAT is for the greater good.
I don't see how this undermines the need for legal marriage. Quite the opposite -- it discourages anyone from any acitivity which may lead to creating a child with someone he/she isn't legally married to.
Frankly it is an effort of a judge to create the same obligation of a father in marriage to support the child. Essentially treating the mother and father the same as a the net result of a couple which is divorcing.
Perhaps we should simply outlaw all anonymous sperm donations. The only way to use an IVF clinic would be to go through the process of terminating parental rights and simultaneously having the man who is going to raise the child as the father adopt the child.
Essentially sperm donors become court concluded as abandoning the child.
Of course this makes, it difficult for homosexuals (male and female) to do this in the majority of states which do not allow same sex second parent adoption.
It also makes it virtually impossible for those intentional single career woman mothers to use IVF services without the POTENTIAL demand of visitation of a sperm doner at some point.