Adding clear queue fn

Did you mean `queue.clear`?