Made AssetManager more flexible.

Added clone() to Object for shallow copies. Moved the Array and Math
extensions into the Core module.