clone

fun BufferedImage.clone(width: Int = this.width, height: Int = this.height, type: Int = AWT_INTERNAL_IMAGE_TYPE_PRE): BufferedImage