The MagSafe socket (not the plug) on all MacBooks made since 2006 is magnetized also.  If we still had floppy disks this might be a problem but I don't think it is in this age of CD/DVD and USB key media.