Researchers have found pregnant women are more likely to adopt practices their mothers and grandmothers carried out during their pregnancies.