copy

fun copy(x: Int = this.x, y: Int = this.y): IntOffset(source)

Returns a copy of this IntOffset instance optionally overriding the x or y parameter