added tab.clear() method