ENH: replicate image in ImageMath