Queue generates new prototype object for each new queue instead of sharing a prototype with every other queue instance.