clear

fun clear()(source)

Removes all elements from this deque. Capacity is preserved.