SelectorBasedResponseHandler () { SelectorBasedResponseHandler clone = (SelectorBasedResponseHandler)super.clone(); clone.mySelectors = new LinkedHashMap<>(mySelectors.size()); for (Selector selector : mySelectors.values()) { clone.mySelectors.put(selector.getName(), selector.clone()); } return clone; }