Subpages duplication - Tables behaviour

Hello everyone.

I have a project page which contains different tables organized in several sub-pages.
I want to create a DuplicatePage button, in which some of the subpages (and tables in it) will be duplicated as a view of the original table (“CreateViews” option), and other subpages will be duplicated as a new table (“DuplicateData” option).

Is it possible?

Thanks in advance,
Ranny