on Example #3 Creating a reflection of an image----------------------------------------------------/* Clone the image and flip it */$reflection = $im->clone();$reflection->flipImage();----------------------------------------------------it was using the Imagick::clone function

This function has been DEPRECATED as of imagick 3.1.0 in favour of using the clone keyword.