Added clear support to PriorityQueue