export const clone = function(obj) { return JSON.parse(JSON.stringify(obj)); };