Interface
CopyConstructorInterface
Magento\Catalog\Model\Product\CopyConstructorInterface
What it does
This interface defines the contract for classes that handle product duplication logic in Magento 2.
Developers implement this interface to create copy constructors that transfer specific attributes, relationships, or data from an original product to its duplicate, allowing different product types to have customized duplication behavior.
Public Methods
- build()