Add clearOnSetStore to Tree