Check which of two equal but distinguishable members insert(_:), update(with:) and remove(_:) keep and return, using Set as the reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>