/**
  * Initializes the clipboard for generating paste links
  *
  * @return void
  *
  * @see \TYPO3\CMS\Recordlist\RecordList::main()
  * @see \TYPO3\CMS\Backend\Controller\ClickMenuController::main()
  * @see \TYPO3\CMS\Filelist\Controller\FileListController::main()
  */
 protected function initializeClipboard()
 {
     // Start clipboard
     $this->clipboard = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Clipboard\Clipboard::class);
     // Initialize - reads the clipboard content from the user session
     $this->clipboard->initializeClipboard();
     // This locks the clipboard to the Normal for this request.
     $this->clipboard->lockToNormal();
     // Clean up pad
     $this->clipboard->cleanCurrent();
     // Save the clipboard content
     $this->clipboard->endClipboard();
 }