Really thick blood clot or miscarriage...

Not sure if this is just really thick blood clot or was a miscarriage... any ideas? I had really bad cramps earlier.