It was close, but not an exact match.
Apple may have a more metallic design for iCloud right now, but it clearly wasn't always that way. The first iOS 5 beta had a purple plasticky icon for iCloud in Settings (along the lines of the iTunes/App Store logos) although it was replaced by the current metallic icon in beta 2. Apple clearly moved to the metallic design very shortly before WWDC, so this leak is probably real as it's design matches that of the 'old' iCloud logo