In the end, sterilization of the insane is not a first. Sterilization of the insane has occurred in the past. These are people suffering mental illness, and not willing to identify they have a serious mental problem. Society does benefit by their deciding not to reproduce.
And usually, people with serious mental issues cannot take care of themselves properly let alone raising one or more children.