fix Logger.clone with a stub instance