isCloneable() public method

Checks whether this is a reflection of a class that supports the clone operator
public isCloneable ( ) : boolean
return boolean
 function it_might_be_cloneable(ReflectionClass $reflectionClass)
 {
     $reflectionClass->isCloneable()->willReturn(true);
     $this->isCloneable()->shouldBe(true);
     $reflectionClass->isCloneable()->willReturn(false);
     $this->isCloneable()->shouldBe(false);
 }
 /**
  * {@inheritDoc}
  */
 public function isCloneable()
 {
     return $this->betterReflectionClass->isCloneable();
 }
 public function isCloneable() : bool
 {
     return $this->reflectionClass->isCloneable();
 }