Constraints on the evolution of asexual reproduction