Is it possible to use `SGVector<T>::unique(T*, int32_t)` for this? That way we don't need to create `best_feature_labels`.