Write tests for clear methods
Implement clear API
Add API docs
Merge pull request #4 from wilsonpage/dev

Implement clear API (closes #1)