After seeing this I am 100% sure default GUI code generator was made by some Russian.
Although that struct index abuse is interesting it cannot supplement the higher language functionality you need here.
I believe better solution would be making a standard destroyable struct with a copy (clone) method.
Anyways Vex we really don't need any more strange-operator-candy-stuff in jasshelper.
Those static  and = are becoming a common request btw...