copy

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

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