Why is that ?
As per documentation
The Set object lets you store unique values of any type, whether
primitive values or object references.
Now reference for each of those arrays inside that Set
constructor will be different so they are not considered to be a unique value by the constructor.