Fixed cloning zero length arrays of reference types.