const newArray = array.map(({dropAttr1, dropAttr2, ...keepAttrs}) => keepAttrs)