add clear method for LocalStorage