Miscarriage after using clomid?

Ti

I used clomid for two cycles, got pregnant with twins (boy and a girl) and at 16 weeks I had a misscarreage. Did anyone else experience that?

The only thing my doctor said was this things happen there was nothing she could do.