Added deque clear method