This option allows for implementing the object cloning method. It works in the following way:
When triggered on the type declaration, it adds System.ICloneable
interface to the implemented interfaces list and generates two Clone
methods: one that comes from the ICloneable
interface and a strongly typed counterpart.
When triggered on the method called Clone
, then generates only that method implementation.