Don't need to clone @table.keys; it's already a newly created array.