add clear method
Merge pull request #1 from millken/patch-1

add clear method