Before spawning, the male prepares a nest by clearing a spot on bare rock near the anemone, according to the ADW. He then courts a female with
a show of extended fins, biting and chasing, according to the Florida Museum of Natural History. He chases the female to the nest, but after that it is up to her to make the next move.
She will make several passes over the nest before depositing her eggs. She will lay from 100 to 1,000 eggs, which are 3 to 4 millimeters long. The male then passes over the nest and releases sperm to fertilize the eggs. Then, the female swims off.
The male does most of the "egg sitting." He will fan them and eat any eggs that are infertile or damaged by fungus, according to the ADW. The eggs hatch six to eight days later. The larvae float away and spend about 10 days adrift. They start their lives clear or transparent, but as they begin to mature they start to gain the color of their species. As juveniles, the young will settle to the bottom of the reef to search for a host anemone.
SOURCE