# arrow

Filip Piechowski

03/29/2024, 1:30 PM
Is it possible to
to create deep copies of objects only based on their `Iso`s generated only by the plugin generator? case: I have two data structured as composed data classes. There are 2 parents, them and their composed in children have the same structure in terms of fields. If there were only classes with primitive properties, or all properties were same types on both classes, then I could just use
val b = B.iso.compose(A.iso.reverse())
but it wouldn’t work where children are of other types. Is there something in arrow that wold let me reference to isos of children types to convert types the same way i planned to do with parent types?