On ComfyUI frontend 1.53.1+ (after the ECS migration), slot links are
resolved from the graph's link store by (graph, node id, slot) instead
of `input.link`. A cloned node keeps the original's id, and
RgthreeBaseNode.clone() attached the original graph to the clone as a
workaround for ComfyUI_frontend#5037. As a result:
- BaseAnyInputConnectedNode.clone() trimming extra inputs with
removeInput() disconnected input slots 1+ of the ORIGINAL node
(Fast Bypasser/Muter, Mute/Bypass Repeater/Relay, Random Unmuter,
Node Collector, Fast Actions Button) on single-node copy, clone,
duplicate, alt+drag clone and "Save Selected as Template".
- DynamicContextNodeBase.clone() also cut the original's outputs 1+.
- The graph-attached clone serialized the original's link ids.
Trim the clone's slot arrays directly (they carry no links) and stop
attaching the graph to clones, so clones behave like stock clones.
Co-Authored-By: Claude Code <noreply@anthropic.com>