options override for clear() & clearAll() convenience method added

Hi guys,

I had a need to include optionsOverride in clear() method, and then introduced a convenience clearAll() method to avoid calling clear with null/undefined as first param when passing optionsOverride in clear().

if you're interested to pull this change in - feel free to.

Cheers
 t.