Implement GC::createObject