data class Person(val age: Int, val name: String)
Is there a simple way to create a new Person object using another object as a template to fill in the required constructor params?
// Example of what I'd like to be able to do
val person1 = Person(age = 35, name = "Cory")
val person2 = Person(person1, name = "Jeff")