Implement cloneArray and cloneMutableArray for GHC >= 7.2.1