Version for raw data pointers that knows the size of the feature
Specialization for cv::Vec. Doesn't have size() so default won't work.
Support serializing of non-"simple" feature classes
Some identifying name for the distance used