No need to check vector size before clear()