public X_Movement_Module getCopy() { X_Movement_Module r = new X_Movement_Module(); r.attractants = (Vector<String>) this.attractants.clone(); r.repellents = (Vector<String>) this.repellents.clone(); r.randomness = this.randomness; r.movementDirection = this.movementDirection.clone(); r.directionWeight = this.directionWeight; r.copiedWhenNeuriteBranches = this.copiedWhenNeuriteBranches; r.minimalBranchDiameter = this.minimalBranchDiameter; r.cantLeave = this.cantLeave; r.maxConcentration = this.maxConcentration; r.linearDiameterDecrease = this.linearDiameterDecrease; return r; }