Implemented hash::clear. Closes #4