@Override
            public Object detach(final Object object) {
                return ReferenceFactory.detach(object);
            }
Uses {@link ReferenceFactory} to detach which only includes id and label of elements.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/EventStrategy.java