I can confirm this is an issue, at least with a fast Ctrl c/v on a large image - obviously you might want to copy and paste from a section of an image to duplicate it. Not sure if this error would be easy to get in general use but even on a fast computer it is repeatable - you get an error about getting the image from the clipboard:
Exception:
System.UnauthorizedAccessException: OpenClipboard() returned FALSE (5, ERROR_ACCESS_DENIED)
at PaintDotNet.Interop.WindowsUtil.ThrowWin32Error(String message, Int32 lastWin32Error) in D:\src\pdn\src\Windows\Interop\WindowsUtil.cs:line 24
at PaintDotNet.SystemLayer.Clipboard.ClipboardTransaction.Create(IClipboard clipboard, HWND hwnd) in D:\src\pdn\src\SystemLayer\Clipboard\ClipboardTransaction.cs:line 62
at PaintDotNet.Actions.PasteImageAction.<PerformActionImpl>b__5_0() in D:\src\pdn\src\PaintDotNet\Actions\PasteImageAction.cs:line 94
at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation[T,TFunc](Int32 maxAttempts, TFunc& func) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 227
at PaintDotNet.Actions.PasteImageAction.PerformActionImpl() in D:\src\pdn\src\PaintDotNet\Actions\PasteImageAction.cs:line 91
Application paint.net 5.0.2 (Stable 5.2.8451.6614)
Build Date 20 February 2023
Windows 11