QDoc: Preserve complete Atom state when copying
`Atom::clone()` currently retains the historical copying behavior of
`Text` by reconstructing an atom from its type and at most its first two
strings. This loses state for atoms containing additional strings and
also drops an explicitly present empty second string.
This change adds an `Atom` copy constructor that copies its complete
value state while leaving the new atom detached from any existing
chain. The new copy constructor is invoked from `Atom::clone()`, so that
cloning preserves the complete `m_strs` contents without copying the
`m_next` linkage. The `LinkAtom` copy constructor is defaulted to ensure
its base `Atom` state is copied using the same semantics while its own
state continues to be copied member-wise.
The atom-copying tests are updated to reflect the intended
semantics. Empty string entries and strings beyond the second one now
survive when an atom is copied into a `Text`.
Fixes: QTBUG-150798
Change-Id: I7018d12a2902ac2c9ba649cc56f6ecc0b0aff8a2
Reviewed-by: Topi Reinio <topi.reinio@qt.io>