clone two tabs that have parent child relation

we have the following error, while trying to clone two tabs that has parent child relationship
"Attempted to add a campaign member where either the member id ‘null’ or the campaign id ### ‘null’