clone method

LinkedQueue<E> clone()

Creates a copy of this LinkedQueue.

Implementation

LinkedQueue<E> clone() {
  return LinkedQueue<E>.from(this);
}