spectrum: (fixes #995) Implement a proper copy ctor for SpectrumSignalParameters
The initial idea of the code was to achieve some optimizations by not providing a deep copy of all the members, but since #995 (closed) it seems that this kind of shallow copy in combination with C++20 optimization can lead to bugs and wrong behavior.
So, with this fix, we provide a proper copy constructor.