Yes, Tack för att du förklarade (det). (It usually sounds better with the det in it but it isn't strictly necessary).
Doesn't klar mean clear in Swedish? To clarify means to make clear in English. I could actually is that in the word. It makes sense that it is the better translation. Swedish is becoming easier all the time.