Add clear method [Issue #11]