Asset cache

Fix bug where cloned objects from the cache share a material.