Fans of the automation tool Tasker will like the App Cloner automation option Execute Tasker tasks. It allows executing any of the actions available from Tasker and its plug-ins when a cloned app is started and / or when exiting it.
To use this option you need to have Tasker installed. You can install Tasker from the Play Store. Make sure to enable Allow External Access in Tasker’s Misc preferences.
The task names are case-sensitive. In the task you can use the variables %name to include the cloned app’s name and %package to include the cloned app’s package name.
