Added "Move detection" to avoid unnecessary Copies