Add Imagick compatibility check for cloning