The legislation was unanimously approved by Thailand's junta-picked parliament on Thursday in a bill spurred by the case of an Australian couple accused of abandoning a baby with Down's syndrome while taking his healthy twin sister borne by a Thai surrogate.