In this issue, we provide copy operations for vector value comparators. This operation creates another comparator with the same type and comparison logic.
This feature is useful in multi-threading scenarios where multiple threads uses the comparator to perform their own task. In this scenario, we have no way of making sure the compare method is thread safe. So a safe way is to create a new comparator for each thread. The copy operation will support this.
An immediate application of this is the parallel searcher for ordering semantics.