They pass it on to the fetus, which does not have the same rights as a human even if it may eventually become such. This touches on a number of issues, include eugenics. For example, if it is wrong to pass on unknown quality genes to your children, what about passing on known bad genes? Look into the rare cases of the genetically deaf ensuring their children have the same condition, which is legal even though it would be illegal to permanently deafen a child.
Also, if a person's right to do what they want with their own body can be limited due to the rights of possible future children (who may never even happen), what does this say of issues such as abortion or birth control (especially permanent methods). We should be very careful before assigning any duties people have to persons who don't yet exist.