I use clone method in copy constructor. Is that ok?
Or I simply remove the copy constructor in IndexFeature and new a instance in duplicate method?