Editor Scripting - Remove Animation Curve horribly slow

I’m building an Editor Utility Blueprint which is supposed to duplicate selected Animation Sequences and remove curves based on their names. The idea is to eventually split prerecorded animations with about 1300 curves into smaller files and blend them separately.

The problem is, this script takes longer than doing this manually in the editor. It’s unusable with this amount of curves and takes several minutes to complete.

Do you have any ideas why the RemoveCurve takes so long? Or am I doing something wrong? Is there any way to mark the whole transaction and perform a batch call or remove several curves in a single call instead of iteratively call Remove Curve several times in a row?