DoublyLinkedList applied copy-and-swap