What’s with cp –reflink: failed to clone: Invalid argument?

Most modern copy-on-write file systems, such as Btrfs and XFS, support file cloning. (OpenZFS being the notable exception.) However, the tools that support this space-saving innovation can be difficult to use. Here’s an example situation detailing how the simple copy (cp) command on Linux can make it hard to understand what’s going on.