This should probably be `AbstractVector`, and should arguably copy the array for consistency with DataVectors.