MIN Do not copy array in categorical_sample