public <R> R detach(final R attached) {
        return (R) detachment.detach(attached);
    }
Applies the appropriate detach operation to elements that will be raised in mutation events.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/EventStrategy.java