Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Yes you are passing an image reference. In addition, images are referenced counted and only the image meta data is cloned. Only when an image pixel is updated is the pixel cache cloned.