perf($compile): clone the nodeList during linking only if necessary