Form not cloning the fields based on selected value

Your software
My Mautic version is: 4.1.2
My PHP version is: 7.4.28
My Database type and version is: 10.3.34-MariaDB

Your problem
When cloning a form it only clones the main fields and does not clone the fields based on selected value.