public function copy($deepCopy = false)
    {
        // we use get_class(), because this might be a subclass
        $clazz = get_class($this);
        $copyObj = new $clazz();
        $this->copyInto($copyObj, $deepCopy);

        return $copyObj;
    }
public function copy($deepCopy = false)
    {
        // we use get_class(), because this might be a subclass
        $clazz = get_class($this);
        $copyObj = new $clazz();
        $this->copyInto($copyObj, $deepCopy);

        return $copyObj;
    }
public function copy ( $ deepCopy = false ) { // we use get_class(), because this might be a subclass $ clazz = get_class ( $ this ) ; $ copyObj = new $ clazz ( ) ; $ this -> copyInto ( $ copyObj , $ deepCopy ) ; return $ copyObj ; }
Makes a copy of this object that will be inserted as a new row in table when saved.
It creates a new object filling in the simple attributes, but skipping any primary
keys that are defined for the table.

If desired, this method can also make copies of all associated (fkey referrers)
objects.

@param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
@return                 \AttributeType\Model\AttributeAttributeType Clone of current object.
@throws PropelException
Makes a copy of this object that will be inserted as a new row in table when saved . It creates a new object filling in the simple attributes but skipping any primary keys that are defined for the table .