Clots in urine

Has anyone experienced small clots while peeing? Could it be due to endometriosis?