A child who was in the womb at the time of the death of an intestate and who is subsequently born alive shall have the same right to inherit to the intestate as if he or she had been born before the death of the intestate, and the inheritance shall be deemed to vest in such a case with effect from the date of the death of the intestate.