Eliminar Duplicados Javascript

const array = ['Solucion', 'Solucion', 'Por', 'codewi'];

let array_unico = [...new Set(array)];
codewi