bug fix:  transformed samples where overriding given samples. added copy method to prevent this.