Azathoth #1 If you don't need reflection you can use 'New mytype' and it will create a new instance even if the function doesn't know what type 'mytype' is.function make_another(mytype:object) Local copyoftype:object=New mytype end function