Create a twin record with its children using a table relationship and field mapping

You have probably leverage of the field mapping functionality at some point, to copy fields from table A into a new record in table B. But what happens when you have a scenario like the following one: Copy fields from table A.1 (Child table of table A) into table B.1 (Child table of table B).
For this scenarios you have a hidden gem like the InitializeFromRequest class that you can use in a plugin or in a Custom API. let me walk you through this blogpost and show you how this can be done leveraging the out of the box features like table relationship and field mapping.