kill-whole-line works as I want. It cuts the line, and when I'm in
org-mode it cuts the whole collapsed subtree.
What I need is just that as copy instead of cut. There is a multitude of suggestions here how to copy a whole line, which all work, but in
org-mode they simply do not copy the whole collapsed subtree, they just copy the first line.