The practice was widely criticized by experts in genetics and bioethics who said they believed it was a violation of personal privacy and that it was illegal under an act passed by Congress that took effect in November 2009 .