dimsuz
11/24/2017, 4:13 PMWell you can't generically call copy, so you're always dealing with a concrete data class type, so you know whether you need to call copy or not.I know, but I mean that compiler could generate a
copy which is smart enough to not copy when current value is equal to the new one