What is this??

Second day of my period, and I took my tampon out, and this was there. And then I wiped, and there was a second clump. I’ve had a miscarriage before, so I don’t think this is what it is, but any ideas?? This has never happened before.