Added clear function
Merge pull request #1 from hanikesn/master

Added clear function