add clear method to reactive-dict