copy

fun copy(allowOverlap: StyleValue<Boolean> = this.allowOverlap, image: StyleValue<String>? = this.image, size: StyleValue<Double>? = this.size, scale: StyleValue<Double>? = this.scale, iconSize: IconSize? = this.iconSize, atlas: IconAtlas? = this.atlas, type: String? = this.type, anchor: StyleValue<Anchor> = this.anchor, offset: StyleValue<AnchorOffset> = this.offset, padding: StyleValue<Double> = this.padding, rotation: Double = this.rotation, rotationUsesDataDirection: Boolean = this.rotationUsesDataDirection, spin: Boolean = this.spin, spinDegreesPerSecond: Float = this.spinDegreesPerSecond, shader: String? = this.shader, factor: StyleValue<Double>? = this.factor, rotateWithMap: Boolean = this.placement.rotateWithMap, pitchWithMap: Boolean = this.placement.pitchWithMap, source: IconSourcePaint = this.source): IconPaint

Shallow copy for tests / paint mutation helpers (IconPaint is no longer a data class).