new Version of Clone for SDMLib