public < T > T getClone ( String key , Class < T > c ) { IPrototype prototype = prototypes . get ( new PrototypeKey ( key , c ) ) ; if ( prototype != null ) { return ( T ) prototype . clone ( ) ; } else return null ; }
Obtains a key associated clone of the prototype for the specified class and key