Using a space separated list of targets as a single string element in the list doesn't work properly. Change property to support list of targets and backwards compatibility with warning for single string.
Fixes tests that are affected by <https://github.com/NixOS/nixpkgs/pull/333744>.
Add an extraOptions option that would be appended to the cliphist command.