Do not forget to copy attached instance too