https://kotlinlang.org logo
l

Lucas Ł

07/13/2018, 11:12 AM
If your object hierarchy is pretty "shallow" and your objects inside the list are `data class`es, than something like this should work:
list.map{it.copy()}
💯 2