static mergeOptions(optionsArray) {
        // This allows the user to use multiple options (strings or objects) in an array, and overwrite the previous one with the next option element ; this is useful to tune the wanted format
        const mergedOptions = {};
        optionsArray.forEach(optionObjectOrPredefinedOptionString => {
            Object.assign(mergedOptions, this._getOptionObject(optionObjectOrPredefinedOptionString));
        });

        return mergedOptions;
    }
Merge the option objects found in the given array `optionsArray`.
If a `string` is found, then we try to get the related pre-defined option using that string as its name.
When merging the options, the latest option overwrite any previously set. This allows to fine tune a pre-defined option for instance.

@param {Array<object|string>} optionsArray
@returns {{}}