Avoid copying frozen String keys used in a Hash or Set