Got Clone function working