/**
  * Clone
  *
  * @access public
  * @param int target id
  * @param int copy id
  * 
  */
 public function cloneObject($a_target_id, $a_copy_id = 0)
 {
     $new_obj = parent::cloneObject($a_target_id, $a_copy_id);
     $this->cloneMetaData($new_obj);
     // object created now copy other settings
     include_once 'Modules/WebResource/classes/class.ilLinkResourceItems.php';
     $links = new ilLinkResourceItems($this->getId());
     $links->cloneItems($new_obj->getId());
     // append copy info weblink title
     if (ilLinkResourceItems::_isSingular($new_obj->getId())) {
         $first = ilLinkResourceItems::_getFirstLink($new_obj->getId());
         ilLinkResourceItems::updateTitle($first['link_id'], $new_obj->getTitle());
     }
     return $new_obj;
 }