Found bug that also breaks Undo

Consider this .ods (Calc) file:


When trying to copy and paste the green cell into the cells below, the neighboring cells get damaged.
When trying to Undo, the previous state of the document isn’t restored - thus Undo fails.

Could this bug please be fixed?
My only workaround currently is to copy and paste only one cell at a time which is quite annoying.

Here is a series of screenshot images that illustrates the problem:

More info:

Version: (x64)
Build ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059
CPU Threads: 8; OS Version: Windows 6.19; UI Render: default; Layout Engine: new;
Locale: en-US (de_DE); Calc: group

Please report bug at and attach the sample document there. Thanks.