What is chlomid? Is it safe? Any irreversible side effects? Any studies on it affecting egg quality?

Ovulation induction. Clomiphene citrate fools your brain telling it to create an FSH surge that stimulates ovulation. Common side effects are ovarian cysts, abdominal pain and some water retention. The risk of multiple pregnancy, twins... Increases too.
Clomid (clomiphene) primer. Clomid (clomiphene) (r) is a tradename for Clomiphene citrate, a stilbene derivative. Pharmacologically it's an estrogen antagonist in many tissues (not all) of the body. It's only indicated use is ovulation induction. Besides a very small statistical increase in twin and tiny increase in triplet rates, it has no significant risks. Mild side effects are common, but all are time-limited.