Board Thread:Lua Help/@comment-24473195-20150701143414

In the code below I'm trying to make a copy of the frame object for the Module:devmodule. The idea is that because this module will access other modules on dev.wikia remotely, I change the frame arguments before calling the module here. As shown below:

The problem is that because frame is readonly, I can't change the arguments directly. I'm wondering if there is a more effective way of copying the functions to this table, e.g. using a loop? 