How does UVM Comparator works?

In reply to nocsmsourabh:

Copy-on-write. If you modify a transaction, you need to make a clone (clone is: create followed by copy)