The sex life of the clownfish is pretty strange. All clownfish hatch from their eggs as males. The largest fish in an anemone is always female. If she dies, the largest male will become female. The largest juvenile then matures, becoming a functional male and mates, replacing the one who just changed sex.
Eggs take a week or so to develop.
During this time the male tends the eggs. Once the eggs hatch, there is no more parental protection.