fix: clear method.
Merge pull request #7 from nistormihai/master

fix: clear method.