Never used it yet, but there is a program (G4U) that is based on NetBSD and (is rumored to) perform arbitrary drive cloning. Not sure what hardware platforms it runs on.