Shallow vs deep copy

Will use of uvm field macros also result in shallow copy or field macros take care of deep copy?

In reply to verif_learner:

We do not recommend using field automation macros.

When using `uvm_field_object, it uses the clone() method to copy the object. Normally, that means a deep copy.

In reply to dave_59:

In reply to verif_learner:
We do not recommend using field automation macros.
When using `uvm_field_object, it uses the clone() method to copy the object. Normally, that means a deep copy.

Thanks. I understand that field macros but I wanted to understand about deep vs shallow copy when using macros