perhaps this clone can be performed inside _dispatchComposerKeyMatches to avoid future errors at the call site. Also, `.slice()` does not need the `0`.