make clone() more friendly