clone table instead of using the original def reference
support function as a default value
Merge pull request #238 from junwchina/develop

支持table 和函数作为ModelBase的默认值。