Fixed error in 'clear' due to undefined options.
Merge pull request #55 from mrydengren/fix-clear-error

Fixed error in 'clear' due to undefined options. good catch. I'll add a unit test too.