Expose option to override properties included on Plugin Error, copy all properties from original error by default

Currently when you create a PluginError with an existing error the properties of the original error are lost unless they are included on an internal list of white listed properties. I propose two enhancements:

1. Provide a means to override the white listed properties.
2. If no white list properties are provided, then include all properties from the original error.
or just https://github.com/sindresorhus/array-uniq which is completely self-contained.