Needs to be a clone of the vector or gets messed up later.