TMI Miscarriage?

I've had irregular periods for years now. I'm on birth control but we dont use condoms. After some cramping this came out yesterday. Not sure if its a clot or a miscarriage. I'll make an apt to a Dr but if anyone could help that would be great.