Locking a GameObject's position and rotation

I have a problem the solution of which seems simple, but having problems in implementing.

I am trying to eliminate motion ‘jitter’ in a Vuforia handheld Ar project using a static Image Tracker.

The visual result of this problem is a slight amount of ‘shakiness’ of my tracked virtual model.
In the Inspector I can see this a slightly fluctuating values for both Position and Rotation.

So what I need to do is
1-check for a condition (ie Tracking started or Image Tracker found)
2-get position and rotation coordinates at that instant
3-constantly apply these updated values, I assume in my Update method.

What would be the pseudo -code or logic I would need to accomplish this?

I don’t know much about Vuforia but I’m assuming you can call a method on your object when this Tracking starts:

private Quaternion setRotation;
private Vector3 setPosition;
private bool isTracking;

void Awake()
{
      isTracking = false;
}

void Update()
{
    if (isTracking)
    {
         transform.rotation = setRotation;
         transform.posoition = setPosition;
     }
}

// You need to call this whenever your start
// Whatever the tracking is in Vuforia
public void StartTracking()
{
      isTracking = true;
      setRotation = transform.rotation;
      setPosition = transform.position
}

// call this when tracking ends
public void EndTracking()
{
    isTracking = false;
}