I agree with a previous poster that to gain clarity you must listen for it.
The only way to become perfect is to be a perfectionist.
Its also important to understand that one is not in a hurry, you have all your life infront of you, and the piano is going to give you a lot of joy.
So you must never be discouraged and never be stressed (unless you have a dead-line of course

)
And when you hear your play is not clear, then slow down and try to understand why its not clear. Never just keep playing thinking "its unclear, but i'd like to finnish playing the piece", you have to stop and start solving the problem of clarity for those bars that were unclear. And you dont have to completely solve it in one try, just keep trying.
One of my favorite quotes from Neuhaus book: "If one has a great love for music, and if one works like obcessed at his instrument, then one is bound to become a virtuoso"
These are not the exact words, but the meaning

I recommend the book too.