Actually itβs a myth that husband is left with the choice of saving the mother or the child during childbirth. The doctors always prioritise the mother.
Having said that itβs legal as of 2018, but is reviewed by a Primary Board and a Secondary Board of Medical Officers at the time of the event and only then can it come into effect.