They _did_ do a cleanroom implementation, that's the whole issue that makes it an interesting case: are APIs fair use?
The whole point was interoperability