What is this?

I had my period the end of April, lasted one week. Had one week off of no bleeding than started bleeding again and going in two weeks now of bleeding. Now this comes out?? Is it just a blood clot or does it look like a miscarriage?