Clone Brush stopped working

I was painting a texture, when the clone stamp suddenly stopped working. The minute before I was normally using it, then from the next click it did not work anymore. It already happened on other projects. Why? How to solve it?