Creates a new set containing the intersection of the elements of the two sets passed as parameters.
Creates a new set containing the intersection of the elements of the two sets passed as parameters.This function creates an empty clone of the smaller of the two parameter sets and then iterates the smaller of the two sets and adds all elements to the clone that are also contained in the larger set.