Predators induce egg retention in prey