safetyObject(obj, options) {
		return JSON.parse(JSON.stringify(obj, circularReplacer(options)));
	}
Remove circular references & Functions from the JS object

@param {Object|Array} obj
@param {Object=} options List of options to change circularReplacer behaviour
@param {number=} options.maxSafeObjectSize List of options to change circularReplacer behaviour
@returns {Object|Array}