Implements EntityInterface::createDuplicate().
Overrides ConfigEntityBase::createDuplicate
public function createDuplicate() {
return entity_create('picture_mapping', array(
'id' => '',
'label' => t('Clone of !label', array(
'!label' => check_plain($this
->label()),
)),
'mappings' => $this->mappings,
));
}