Overrides EntityDisplayBase::createCopy
public function createCopy($mode) { // Disable Layout Builder and remove any sections copied from the original. return parent::createCopy($mode)->setSections([]) ->disableLayoutBuilder(); }