Implement chest double click (implemented in MC 1.5). This fixes issues with donation chests and taking arbitrary items if you have the same item type already.