Add Imagick compatibility check for cloning
Merge pull request #599 from AlReece45/master

Add compatibility code for Imagick