I know Orika has lot more features but, if you just want to create a copy of an instance to a new instance and change some attributes of the new instance, scala has inbuilt feature for it. Use case classes and you can use copy method on it to create new instances.

case class Bird(name: String, color: String)

scala> val chicken = Bird("twitty", "yellow")
chicken: Bird = Bird(twitty,yellow)

scala> val coq = chicken.copy(color = "red")
coq: Bird = Bird(twitty,red)

Related Query

More Query from same tag